package com.jinzheng.qianhai.commont;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * kafka,topic配置
 * */
@Component
@Data
@ConfigurationProperties(prefix = "spring.kafka")
public class KafkaTopicNameProp {

    /**
     * topic名称
     */
    private String topicName;

    /**
     * 存储方式，storedb代表存储数据库，storekafka代表发送kafka
     */
    private String openstoreType;

}
